<template>
  <div class="custom-table">
    <div v-if="!items.length" class="easy-container no-data">{{ loading ? '' : '暂无数据' }}</div>
    <list-item v-for="item in items" :key="item.id" :item="item" />
  </div>
</template>

<script>
import ListItem from './list-item';

export default {
  name: 'contributions-list',
  components: {
    ListItem,
  },
  props: {
    items: Array,
    loading: Boolean,
  },
};
</script>

<style></style>
